#ifndef ANALYZE_H
#define ANALYZE_H

#include "Reader.h"
#include <iostream>
#include <fstream>
#include <iostream>
#include<stdio.h>
#include<string>
#include<vector>
#include<cmath>
#include <cstring>
const double K = 0.001987;
const double PI = 3.14159265359;

using namespace std;

class Analyze
{
public:


    Analyze(string fl1);
    string fl1;
    long double T;
    vector<long double> MinFinder();
    vector< long double > Correlation(int optdim, int trunk);
    Reader* REF;
    vector< vector<long double> > LD;
    vector<long double > BoltzmannWeightConvergence(int trunk);
    vector <long double > MeanConvergence();
    vector< long double > NormByMin();
    long double FreeEnergy();
    long double MeanInternalEnergy();
    long double Mean();
    long double Entropy();
    vector <long double> ConvFreeEnergy();

};


#endif // ANALYZE_H
